home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / NetPokerForMacOSX_Server / HoldEmHigh / IRCTask.h < prev    next >
Encoding:
Text File  |  1999-06-25  |  520 b   |  30 lines

  1. #import <AppKit/AppKit.h>
  2. @class PokerTable;
  3.  
  4. @interface IRCTask : NSObject
  5. {
  6.   NSTextView *text;
  7.   id owner;
  8.   NSTask *aTask;
  9.   NSPipe *to_irc;
  10.   NSPipe *from_irc;
  11.   PokerTable *pokerTable;
  12. }
  13. - (void)makeIRCConnection:(PokerTable *)table;
  14. + (id)sharedIRCTask;
  15. - (void)pushStringOverWire:(const char *)buf;
  16.  
  17. - (void)returnFromVacation;
  18. - (void)goOnVacation;
  19. - (void)bet:(int)amount;
  20. - (void)minBet;
  21. - (void)pushAllIn;
  22. - (void)call;
  23. - (void)fold;
  24. - (void)halfPot;
  25. - (int)pot;
  26. - (void)leaveTable;
  27. - (void)joinTable;
  28.  
  29. @end
  30.